package com.example.administrator.rxjavarxandroid_retrofit.http.api;

import com.example.administrator.rxjavarxandroid_retrofit.pojo.TableIp;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import rx.Observable;

/**
 * Created by Administrator on 2016/12/14.
 */
public interface CommonApi {

    @GET("allip/{page}")
    Observable<TableIp> userLogin(@Path("page")int page);

    @GET("allip/{page}")
    Call<TableIp> getip(@Path("page")int page);
}
